home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19981211-19990422
/
000021_news@newsmaster….columbia.edu _Fri Dec 18 10:36:20 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA10145
for <kermit.misc@watsun.cc.columbia.edu>; Fri, 18 Dec 1998 10:36:20 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA24916
for kermit.misc@watsun; Fri, 18 Dec 1998 10:36:19 -0500 (EST)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: receiving straight binary
Date: 18 Dec 1998 15:36:17 GMT
Organization: Columbia University
Lines: 31
Message-ID: <75dsph$4i1$1@apakabar.cc.columbia.edu>
References: <gerlachF4602I.IDE@netcom.com>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:9653
In article <gerlachF4602I.IDE@netcom.com>,
Matthew H. Gerlach <gerlach@netcom.com> wrote:
: I have a device that spits out raw binary serial data, and I want it to go
: to a harddrive. I'm using 6.1.193 Beta.05 on a Solaris machine. What I
: did was write a small program that reads stdin and writes it to a file. I
: then used the ckermit "redirect" command to run my program attaching the
: serial input stream to my program's stdin.
:
: I'm sure there is a better way to do this, but I'm not sure what that better
: way is. I have written scripts using the "input" command that does
: the same thing for ascii text, but I'm not sure it would work too well
: in the this case.
:
There's no reason why it shouldn't:
set line /dev/tty0 ; or whatever
set speed 19200 ; or whatever
set parity none
set flow rts/cts ; or none -- not xon/xoff
set session-log binary
set terminal byte 8
set terminal character-set transparent
log session
input 9999 termination-sequence
close session
The trick is to know when to stop logging, but you must have had some
criterion in your stdin/stdout program so you should be able to use the
same one here.
- Frank